package com.yunji.cabinet.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.yunji.common.base.BaseDelFlagDO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @Project: yunji-coffee
 * @Package: com.yunji.cabinet.domain
 * @Title: Maintain
 * <p>
 * History:
 * Date                     Version     Author          Summary
 * ============================================================
 * 2024-11-01 14:47:42      V1.0        HuaAo       新建类
 */
@EqualsAndHashCode(callSuper = true)
@Data
@TableName("tl_maintain")
public class MaintainDO extends BaseDelFlagDO {

    @ApiModelProperty("维护ID")
    @TableId(type = IdType.AUTO)
    private Long maintainId;

    @ApiModelProperty("补货编码")
    private String maintainCode;

    @ApiModelProperty("员工ID")
    private Long staffId;

    @ApiModelProperty("员工姓名")
    private String staffName;

    @ApiModelProperty("员工手机号")
    private String staffTel;

    @ApiModelProperty("货柜ID")
    private Long containerId;

    @ApiModelProperty("货柜名称")
    private String containerName;

    @ApiModelProperty("货柜类型")
    private String typeCode;

    @ApiModelProperty("点位ID")
    private Long locationId;

    @ApiModelProperty("芯片Imei")
    private String chipImei;

    @ApiModelProperty("补货数量")
    private Integer cargoNums;

    @ApiModelProperty("维护类型")
    private Integer maintainType;

    @ApiModelProperty("是否更换电压")
    private Integer changeVolt;

    @ApiModelProperty("开始数量")
    private Integer startNums;

    @ApiModelProperty("结束数量")
    private Integer closeNums;

    @ApiModelProperty("识别补货数量")
    private Integer identityCargoNums;

    @ApiModelProperty("开始时间")
    private Date startTime;

    @ApiModelProperty("结束时间")
    private Date endTime;

    @ApiModelProperty("维护状态 0-未完成 1-已完成")
    private Integer maintainStatus;

    @ApiModelProperty("备注")
    private String remarks;

}